/*
 * @Author: huangtianyang 916072572@qq.com
 * @Date: 2023-11-22 16:19:19
 * @LastEditors: huangtianyang
 * @LastEditTime: 2024-02-26 09:56:44
 * @FilePath: \cxl-driving-training\src\views\price\list\config.ts
 */
export const tableConfig = {
    headerOperation: [],
    search: [
        {
            key: 'vehicleType',
            type: 'select',
            name: '学车类型',
            modelValue: '',
            options: []
        },
        {
            key: 'classType',
            type: 'select',
            name: '班别类型',
            modelValue: '',
            options: []
        },
        {
            key: 'status',
            type: 'select',
            name: '状态',
            modelValue: '',
            options: []
        }
    ],
    permission: [],
    table: {
        operationWidth: '120px',
        operation: [
            {
                type: 'set',
                visible: true,
                permission: [],
                className: '',
                name: '设置价格'
            }
        ],

        propName: {
            vehicleType: '学车类型',
            classType: '班别类型',
            activePrice: '活动价格',
            originalPrice: '原价',
            status: '状态',
            createBy: '操作人',
            updateTime: '操作时间'
        },
        showSummary: false,
        selection: false,
        index: false,
        isDialog: false,
        summaryArray: [],
        summaryType: '',
        sortable: [],
        switch: {
            disabled: false,
            permission: [],
            tooltip: {
                visible: false,
                content: ''
            }
        }
    }
}
